package com.yue.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;

/*CREATE TABLE `edu_student` (
        `stu_id` INT(10) NOT NULL AUTO_INCREMENT COMMENT '学号',
        `stu_name` VARCHAR(100) NOT NULL COMMENT '名称',
        `stu_sex` VARCHAR(10) NOT NULL COMMENT '性别',
        `stu_major` VARCHAR(200) NOT NULL COMMENT '专业',
        `user_username` VARCHAR(100) COMMENT '绑定账号',
        FOREIGN KEY(user_username) REFERENCES edu_user(user_username),
        KEY `stu_id` (`stu_id`)
        ) ENGINE=INNODB DEFAULT CHARSET=utf8*/

@Data
@AllArgsConstructor
public class Student {
    private int  stu_id;
    private String stu_name;
    private String stu_sex;
    private String user_username;
}
